package edu.hwadee.entity;

/**
 * Supplierprice entity. @author MyEclipse Persistence Tools
 */

public class Supplierprice implements java.io.Serializable {

	// Fields

	private Integer supplierpriceId;
	private Company company;
	private Material material;
	private Float price;
	private Boolean type;

	// Constructors

	/** default constructor */
	public Supplierprice() {
	}

	/** full constructor */
	public Supplierprice(Company company, Material material, Float price, Boolean type) {
		this.company = company;
		this.material = material;
		this.price = price;
		this.type = type;
	}

	// Property accessors

	public Integer getSupplierpriceId() {
		return this.supplierpriceId;
	}

	public void setSupplierpriceId(Integer supplierpriceId) {
		this.supplierpriceId = supplierpriceId;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Material getMaterial() {
		return this.material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	public Float getPrice() {
		return this.price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public Boolean getType() {
		return this.type;
	}

	public void setType(Boolean type) {
		this.type = type;
	}

}